package ooday02;

public class Test {
    public static void main(String[] args) {
        Dog dog=new Dog("小狗",3,"黑");
        dog.eat();
        dog.drink();
        dog.lookAfterHome();

        Chick chick= new Chick("菜徐坤",20,"灰");
        chick.eat();
        chick.drink();
        chick.layEggs();

        Fish fish=new Fish("小鱼",3,"金");
        fish.eat();
        fish.drink();

    }
}
